package com.anrongtec.zcpt.module;

import java.util.ArrayList;

/**
 * 功能模块实体类
 * @author cxy
 *
 */
public class FunctionModel {
	
	private ArrayList<FMTAG> tag;	//主题分类
	
	private int localIcon;	//本地图标
	
	private String name;	//名称
	
	private int badgeCount; //显示提醒的红点

	public ArrayList<FMTAG> getTag() {
		return tag;
	}

	public void setTag(ArrayList<FMTAG> tag) {
		this.tag = tag;
	}

	public int getBadgeCount() {
		return badgeCount;
	}

	public void setBadgeCount(int badgeCount) {
		this.badgeCount = badgeCount;
	}

	public FunctionModel() {
		super();
	}

	public ArrayList<FMTAG> gettag() {
		return tag;
	}

	public void settag(ArrayList<FMTAG> tag) {
		this.tag = tag;
	}

	public int getLocalIcon() {
		return localIcon;
	}

	public void setLocalIcon(int localIcon) {
		this.localIcon = localIcon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public FunctionModel(int localIcon, String name, ArrayList<FMTAG> tag) {
		super();
		this.tag = tag;
		this.localIcon = localIcon;
		this.name = name;
	}

	@Override
	public String toString() {
		return "FunctionModel [tag=" + tag + ", localIcon=" + localIcon
				+ ", name=" + name + "]";
	}
	
	
	public enum FMTAG{
		第一分类(1), 第二分类(2), 第三分类(3), 第四分类(4), 第五分类(5);

		FMTAG(int value) {
			this.value = value;
		}
		public int value;
	}
	
	
}
